<?php
/*
Resource 	POST						GET								PUT											DELETE
			(create)					(read)							(update)									(delete)
/persons 	Creates a new person		Lists all the persons			Updates all the persons						Deletes all the persons
/persons/1 	Not used with this resource	Shows a person with the ID 1	Updates if a person with the ID 1 exists	Deletes the person with the ID 1


Create the Resource Controller via the artisan command:
$ php artisan controller:make StoreController

Let's write migrations to create tables in our database:
$ php artisan migrate:make create_stores_table --table=stores --create
$ php artisan migrate:make create_users_table --table=users --create

Let's run migrations so our artisan command can create our tables in the database:
$ php artisan migrate

You might be wondering how can we test all these APIs we created.
POSTMAN: This is a chrome extension that allows testing APIs even in local development environments
Once you open chrome, open the following link for chrome extensions:
https://chrome.google.com/webstore/category/extensions
In the top-left box search for Postman - REST Client and click on the first result.
